<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>华猫商城</title>
		<style></style>
		<link href="../css/jquery.validator.css" rel="stylesheet">
		<link href="../css/common.css" rel="stylesheet">

		<link href="../plugin/userLib/css/user.css" rel="stylesheet">
		<link href="../plugin/userLib/css/userinfo.css" rel="stylesheet">
		<link href="../plugin/userLib/css/my_user.css" rel="stylesheet">
		<link href="../css/base.css" rel="stylesheet">
		<style>
			.ZZHT-cart-box{
				display: none;
			}
		</style>
	</head>

	<body>
		<div id="header"></div>
		<div id="headerBox"></div>
		<!--<div id="nav_menu"></div>-->
		<div class="ZZHT-wrap">
			<div class="ZZHT-header" style="border-bottom: 1px solid #ffffff;">
				<div class="ZZHT-shop-nav">
					<div class="ZZHT-nav-box">
						<a href="#">
							<li class="liselect ZZHT-lfloat ZZHT-nav-boxa">商城商家</li>
						</a>
						<div class="ZZHT-clear"></div>
					</div>
				</div>
				<div class="ZZHT-clear"></div>
			</div>
			<div class="ZZHT-main">
				<div id="agent_left"></div>
				<div class="ZZHT-content">

					<div class="msg_main">
						<div class="sections">
							<div class="msg_header bz">
								注册信息
							</div>
							<div class="section_con1 bz">
								<div class="con1_figure clearfix">
									<div class="caption1 caption fl">
										<p><span>登录名：</span><span class="loginName"></span></p>
										<p><span>用户ID：</span><span>512</span></p>
									</div>
									<div class="caption2 caption fl">
										<p><span>手机号：</span><span>15185232589</span></p>

										<p><span>用户类型：</span><span>区级代理</span></p>
									</div>
								</div>
							</div>
						</div>
						<div class="sections">
							<div class="msg_header bz">
								代理基本信息
							</div>
							<div class="section_con2 bz">
								<div class="personal">
									<div class="plist">
										<em>代理名称：</em>
										<span>{{info.agentName}}</span>
									</div>
									<div class="plist">
										<em>所属地区：</em>
										<span>{{info.areaName}}</span>
									</div>
									<div class="plist">
										<em>开户行：</em>
										<span>{{info.accArea}}</span>
									</div>
									<div class="plist">
										<em>银行卡号：</em>
										<span>{{info.accNo}}</span>
									</div>
									<div class="plist">
										<em>身份证号：</em>
										<span>{{info.IDnumber}}</span>
									</div>
								</div>
							</div>
						</div>
						<div class="sections">
							<div class="msg_header bz">
								代理股东信息
							</div>
							<div class="section_con3 bz">
								<div class="company bz">
									<div class="plist">
										<em>当前股东人数：</em>
										<span>1</span>
									</div>
									<div class="plist">
										<em>公司股东总人数：</em>
										<span>5</span>
									</div>
									<div class="plist">
										<em>公司总股份数量：</em>
										<span>5</span>
									</div>
									<div class="plist">
										<em>普通股东剩余股份数量：</em>
										<span>130</span>
									</div>
									<div class="plist">
										<em>管理股东剩余股份数量：</em>
										<span>19</span>
									</div>
								</div>
							</div>
						</div>
						<div class="sections">
							<div class="msg_header bz">
								代理商家信息
							</div>
							<div class="section_con3 bz">
								<div class="company bz ">
									<div class="plist">
										<em>当前辖区商家数量：</em>
										<span>4</span>
									</div>
									<div class="plist">
										<em>完成目标辖区商家数量：</em>
										<span>5</span>
									</div>
								</div>
							</div>
						</div>
					</div>

				</div>
			</div>
			<div style="clear:both;"></div>
			<br>
		</div>
		<!--<div id="ck1"></div>-->
		<div id="ck3"></div>

		<script src="../js/jquery.min.js"></script>
		<script src="../js/vue.min.js"></script>
		<script src="../plugin/layer/layer.js"></script>
		<script type="text/javascript" src="../js/ljf_base.js"></script>

		<script type="text/javascript">
			$('.loginName').html(localStorage.loginName);
			var vm = new Vue({
				el:'.ZZHT-content',
				data:{
					UA : JSON.parse(localStorage.userInfo),
					info:{},
					agent:{}
				}
			});
			$.ajax({//获取用户信息
				type: "get",
				url: SURL + "sktAgents/selectAgentsInfo",
				data: {
					"agentId":localStorage.userId,
				},
				dataType: 'json',
				success: function(res) {
					if(res.messageCode==200){
						vm.info = res.entity;
					}else{
						layer.msg(res.message);
					}
				}
			});
			$.ajax({//获取其他信息
				type: "get",
				url: SURL + "sktAgents/selectAgentsReg",
				data: {
					"agentId":localStorage.userId,
				},
				dataType: 'json',
				success: function(res) {
					console.log(res);
					if(res.messageCode==200){
						vm.agent = res.entity;
					}else{
						layer.msg(res.message);
					}
				}
			});
		</script>
	</body>

</html>